import pymysql

def get_connect():
    connection=pymysql.connect('localhost','root','root','wangzhe')
    cursor=connection.cursor()
    return cursor